﻿using System;

namespace HamcoWcs.Models.Common
{
    public class PageSize
    {
        [VuageQuery(EnumVuageQueryType.Page)]
        public int Page { get; set; } = 1;
        [VuageQuery(EnumVuageQueryType.Size)]
        public int Size { get; set; } = 10;
    }
    public class PageSizeTime : PageSize
    {
        [VuageQuery(EnumVuageQueryType.StartTime, targetPropertyName: "CreatedTime")]
        public DateTime StartTime { get; set; }
        [VuageQuery(EnumVuageQueryType.EndTime, targetPropertyName: "CreatedTime")]
        public DateTime EndTime { get; set; }
    }


}
